package org.bt.auth;

import org.bt.common.utils.AppUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 认证服务
 *
 * @author zwj
 */
@SpringBootApplication
@ComponentScan(value = {
        "org.bt.auth",
        "org.bt.common.**"})
@EnableDiscoveryClient
public class AuthServerApplication {

    public static void main(String[] args) {
        AppUtil.initApp(SpringApplication.run(AuthServerApplication.class, args));
    }

}
